package cn.handong.tool;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.lang.ref.SoftReference;

@SpringBootApplication
//@EnableScheduling//使用定时任务, 需要先开启定时任务, 需要添加注解
public class EMApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(EMApplication.class, args);
        String[] beanDefinitionNames = run.getBeanFactory().getBeanDefinitionNames();
    }
}